package com.dt76.smallloanfrontenduser.remote.xiaohao;

import com.dt76.smallloanfrontenduser.hystrix.xiaohao.HXLoanTypeHystrix;
import com.dt76.smallloanfrontenduser.pojo.xiaohao.HxLoanType;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "smallloan-Frontend-Service",fallback = HXLoanTypeHystrix.class)
public interface HXLoanTypeRemote {

    @RequestMapping("/xiaohao/HXLoanType/qryAllLoanType")
    List<HxLoanType> qryAllLoanType();
}
